package com.tuananh.radnom.persist;

import java.util.ArrayList;

import com.tuananh.radnom.model.NeGroup;
import com.tuananh.radnom.model.NetConn;
import com.tuananh.radnom.model.NetInterface;
import com.tuananh.radnom.model.NetNode;

public interface INetGroupDAO {
	
	public boolean add(NeGroup neGroup);
	public boolean update(NeGroup neGroup);
	public boolean remove(NeGroup neGroup);
	
	public ArrayList<NeGroup> getAll();
	public NeGroup getByName(String name);
	public ArrayList<NeGroup> getByNames(String names);
	public ArrayList<NeGroup> findByNodeName(String name);
	public ArrayList<NeGroup> findByNodeName(ArrayList<String> names);
	
}
